	var map = new BMap.Map("containers");
	var point = new BMap.Point(118.7747,31.98105);
		
	map.addOverlay(new BMap.Marker(point));
	map.centerAndZoom(point, 23);
		
	map.enableScrollWheelZoom();   //启用滚轮放大缩小，默认禁用
	map.enableContinuousZoom();    //启用地图惯性拖拽，默认禁用
	var geoc = new BMap.Geocoder(); 
	map.addEventListener("click",function(e){
	map.clearOverlays();
	map.addOverlay(new BMap.Marker(e.point));
	geoc.getLocation(e.point, function(rs){
				
	var addComp = rs.addressComponents;
	var pois = rs.surroundingPois;
	var add = addComp.province + addComp.city  + addComp.district ;//+ addComp.street  + addComp.streetNumber+pois[0].title
				
		$("#add").text(add);
		$("#select").html("");
		for (var i = 0; i < pois.length; i++) {
			var option = document.createElement("option");
			option.innerText=pois[i].title;
			option.value = pois[i].title;
			$("#select").append(option);
			console.log( pois[i].title);
		}			
	});    			
	});
		